package com.kaili.basic.pojo.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.util.Date;

/**
 *@Desc:应用管理导出
 *@author:chenmengming
 *@Time: 19-7-25 3:26
 *@Copyright: @ 2019 杭州凯立通信有限公司 版权所有
 *@Warning 本内容仅限于公司内部传阅，禁止外泄或用于其他商业目的
 */

@Data
@ExcelTarget("MdmApplication")
public class MdmApplicationExport {

    private Integer id;

    @Excel(name = "应用图标", orderNum = "1")
    private String appIcon;

    @Excel(name = "应用名称", orderNum = "2")
    private String appName;

    @Excel(name = "包名", orderNum = "3")
    private String packageName;

    @Excel(name = "签名", orderNum = "4")
    private String signature;

    @Excel(name = "大小", orderNum = "5")
    private double size;

    @Excel(name = "应用状态", orderNum = "6",replace = {"黑名单_1","白名单_2"})
    private String appState;

    @Excel(name = "平台", orderNum = "7",replace = {"安卓_1","IOS_2","其他_3"})
    private String terrace;

    @Excel(name = "版本号", orderNum = "8")
    private String versionCode;

    @Excel(name = "是否强制升级", orderNum = "9",replace = {"否_0","是_1"})
    private String forceUpdate;

    @Excel(name = "策略名称", orderNum = "10")
    private String strategyName;

    @Excel(name = "创建时间", orderNum = "11")
    private String createTime;

    @Excel(name = "操作人", orderNum = "12")
    private String modifyBy;
}
